#include "app_can.h"
#include "drv_can_lib.h"


int32_t app_can_init(void) 
{
  drv_can0_set_baudrate(g_config.baudrate[0]);
  drv_can0_node_init();
  can0_register_list_id();
  drv_can0_nvic_config();
	
	drv_can1_set_baudrate(g_config.baudrate[1]);
  drv_can1_node_init();
  can1_register_list_id();
  drv_can1_nvic_config();
	
  return 0;
}










